/**
 * Copyright (c) 2012 Axa Holding Belgium, SA. All rights reserved.
 * This software is the confidential and proprietary information of the AXA Group.
 */
package chabernac.android.wordraster.rastersolver;

import java.io.IOException;

public interface iStringDatabase {
  public void beginInsertingWords(String aLanguage);
  public void insertingWordsCompleted(String aLanguage);
  public void endInsertingWords(String aLanguage);
  public boolean isValidWord(String aLanguage, String aWord);
  public boolean isValidPrefix(String aLanguage, String aPrefix);
  public void insertWord(String aLanguage, String aWord) throws IOException;
  public RandomLetterHelper getRandomLetterHelper(String aLanguage) throws IOException;
  public boolean isLanguageLoaded(String aLanguage);
  public void close();
}
